Fig.9. Pricing Component Adapter -succinct Speciication 4 Related Work 3.1 Dynamic, Non-invasive F Ramework Deployment Fig. 5. Pricing Framework Class Model

نویسندگان

  • D. Einarson
  • G. Hedin
چکیده

adapter AbstractPricingScheme { abstract Quote extends LineItemParty { ItemParty item () { return product(); }Quote extends LineItemParty { ItemParty item () { return product(); } CustomerParty customer() { return customer(); } } Customer extends CustomerParty {} HWProduct extends ItemParty { ChargerParty charge() { return tax(); } } Tax extends ChargerParty { public double cost(double unitPrice, ItemParty item) { return taxCharge(unitPrice, (HWProduct) item); } } } adapter RegPricingScheme extends AbstractPricingScheme { Quote extends AbstractPricingScheme.Quote { PricerParty pricer () { return product(); } } HWProduct extends PricerParty { public double basicPrice(ItemParty item) { return regPrice();} public double discount(CustomerParty cust, ItemParty item) { return regDiscount( (Customer)cust ); } } } //example main program that applies the adapter to an application object public class Client { static public void main(String[] args) { Quote q = new Quote(); System.out.println(((RegPricingScheme)q).price()); } Fig. 9. Pricing Component Adapter Succinct Speci cation

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Threshold F-policy and N-policy for multi-component machining system with warm standbys

The integration of marketing and demand with logistics and inventories (supply side of companies) may cause multiple improvements; it can revolutionize the management of the revenue of rental companies, hotels, and airlines. In this paper, we develop a multi-objective pricing-inventory model for a retailer. Maximizing the retailer's profit and the service level are the objectives, and shorta...

متن کامل

APPLICATION OF GAME THEORY IN DYNAMIC COMPETITIVE PRICING WITH ONE PRICE LEADER AND N DEPENDENT FOLLOWERS

 In this research UF cheese pricing is considered and Pegah, Pak, Kaleh, Rouzaneh and Mihan firms’ data, as five main UF cheese competitive firms of Iran in breakfast cheese competitive market, is used. By using these firm’s sales data, production data and price of each ton of UF cheese in nineteen work-periods (each work-period is 6 months), their sales equations are estimated for each work-pe...

متن کامل

A green transportation location-inventory-routing problem by dynamic regional pricing

Non-uniform distribution of customers in a region and variation of their maximum willingness to pay at distinct areas make regional pricing a practical method to maximize the profit of the distribution system. By subtracting the classic objective function, which minimizes operational costs from revenue function, profit maximization is aimed. A distribution network is designed by determining the...

متن کامل

Integration of dynamic pricing and overselling with opportunistic cancellation

Abstract   We extend the concept of dynamic pricing by integrating it with “overselling with opportunistic cancellation” option, within the framework of dynamic policy. Under this strategy, to sell a stock of perishable product (or capacity) two prices are offered to customers at any given time period. Customers are categorized as high-paying and low-paying ones. The seller deliberately oversel...

متن کامل

Dynamic congestion pricing based on user-optimal stochastic learning models

This paper describes the development and implementation of a dynamic congestion pricing scheme, augmented with a game-theoretic evolutionary learning model, into a realistic urban highway in Athens, Greece. The model recognizes several important behavioral features related to the response of users to the congestion pricing strategy. Such features include day-to-day as well as within-day adjustm...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994